package com.skywolf.chem.comments.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.skywolf.chem.common.sysconfig.pojo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 评论列表
 * </p>
 *
 * @author 
 * @since 2020-06-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="CommentInfo对象", description="评论列表")
public class CommentInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "被评论帖子id")
    private Long articleId;

    @ApiModelProperty(value = "评论内容")
    private String commentDesc;

    @ApiModelProperty(value = "评论点赞数")
    private Integer parise;

    @ApiModelProperty(value = "评论人")
    private Long cusUid;

    @ApiModelProperty(value = "评论人昵称")
    private String cusNikeName;

    @ApiModelProperty(value = "0-待审批  1-通过 2-不通过")
    private Integer commentStatus;

    @ApiModelProperty(value = "评论人头像")
    private String cusHeadImg;

    @ApiModelProperty(value = "审批意见")
    private String approveStr;

    @ApiModelProperty(value = "被评论的帖子标题")
    @TableField(exist = false)
    private String articleTitle;


}
